﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.Practices.ServiceLocation;
using TimeTravel.Components;
using TimeTravel.IServices;

namespace TimeTravel.Controllers
{
    public partial class PartialViewController : BaseController
    {
        static readonly IRecentNewService RecentNewService = ServiceLocator.Current.GetInstance<IRecentNewService>();
        public PartialViewResult RecentNew()
        {
            var newsList = new List<RecentNewInfo>(); //RecentNewService.GetAll();
            return PartialView(SubPagePath + "_RecentNew.cshtml", newsList);
        }

        public ActionResult AddNews()
        {
            return null;
        }

        public ActionResult UpdateNews()
        {
            return null;
        }

        public ActionResult DeleteNews()
        {
            return null;
        }
    }
}
